//
//  UILabel+Category.m
//  Project_Demo
//
//  Created by caoxiaozhu on 2018/7/4.
//  Copyright © 2018年 caoxiaozhu. All rights reserved.
//

#import "UILabel+Category.h"

@implementation UILabel (Category)

+(UILabel *)labelWithStr:(NSString *)labelStr Frame:(CGRect)frame fontSize:(UIFont *)font textLine:(NSInteger)textLine textColor:(UIColor *)color TextAlignment:(NSTextAlignment)alignment{
    
    UILabel *label = [[UILabel alloc]init];
    label.frame = frame;
    label.text = labelStr;
    label.font = font;
    label.numberOfLines = textLine;
    label.textColor = color;
    label.textAlignment = alignment;
    return label;
}

@end
